package com.example.bakend.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Record {
    private Integer id;
    private Integer readerId;
    private Integer bookId;
//    传参会出问题，可以先查询数据，然后复制数据，就没有问题
    private Date borrowDate;
    private Date returnDate;

    private Integer status; //1已归还，0未归还


//    借书数量
    private Integer num;


}
